# A tibble: 5 × 2
name size
<chr> <dbl>
1 Asia 16988
2 Africa 11506
3 North America 9390
4 South America 6795
5 Antarctica 5500
gt_tbl <-# change DT to GT islands_tbl %>%gt() %>%# add title and subtitletab_header(title ="Large Landmasses of the World",subtitle ="The top ten largest are presented"# add foot note ) %>%tab_source_note(source_note ="Source: The World Almanac and Book of Facts, 1975, page 406." ) %>%tab_source_note(source_note =md("Reference: McNeil, D. R. (1977) *Interactive Data Analysis*. Wiley.") )######################## Show the gt Tablegt_tbl
Large Landmasses of the World
The top ten largest are presented
name
size
Asia
16988
Africa
11506
North America
9390
South America
6795
Antarctica
5500
Source: The World Almanac and Book of Facts, 1975, page 406.
Reference: McNeil, D. R. (1977) Interactive Data Analysis. Wiley.
Appendix:
{gt} with Rich Iannone:
https://www.youtube.com/watch?v=WfPEvRb92mg
Rich Iannone Making Beautiful Tables with {gt} RStudio: https://www.youtube.com/watch?v=z0UGmMOxl-c